package com.bonc.rms.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转控制器
 * 
 * @author FlyingKiller
 */
@Controller(value = "jumpController")
public class JumpController {
	// login页面
	@RequestMapping(value = "/")
	public String loginPage() {
		return "visitorPage/indexPage";
	}
		 
	// login ...
	
	@RequestMapping(value = "login/login")
    public String login() {
        return "login/login";
    }
	
	@RequestMapping(value = "managerLogin")
	public String managerLogin() {
		return "login/manager_login";
	}
		
	@RequestMapping(value = "userLogin")
    public String userLogin() {
        return "login/user_login";
    }
	
    @RequestMapping(value = "regist")
    public String regist() {
        return "login/regist";
    }
      
    
    //visitor ...
    
    @RequestMapping(value = "/visitorPage/indexPage")
    public String indexPage() {
        return "visitorPage/indexPage";
    }
    
    @RequestMapping(value = "/visitorPage/introduce")
    public String introduce() {
        return "visitorPage/introduce";
    }
    
    @RequestMapping(value = "/visitorPage/boy")
    public String boy() {
        return "visitorPage/boy";
    }
    
    @RequestMapping(value = "/visitorPage/girl")
    public String girl() {
        return "visitorPage/girl";
    }
    
    @RequestMapping(value = "/visitorPage/kids")
    public String kids() {
        return "visitorPage/kids";
    }
    
    // user ...
    
    @RequestMapping(value = "/userPage/user")
    public String user() {
        return "userPage/user";
    }
    
    @RequestMapping(value = "/userPage/food")
    public String food() {
        return "userPage/food";
    }
    @RequestMapping(value = "/userPage/eat")
    public String eat() {
        return "userPage/eat";
    }
    @RequestMapping(value = "/userPage/clothes")
    public String clothes() {
        return "userPage/clothes";
    }
    @RequestMapping(value = "/userPage/play")
    public String play() {
        return "userPage/play";
    }
    @RequestMapping(value = "/userPage/information")
    public String information() {
        return "userPage/information";
    }
    //shopping ...
    
    @RequestMapping(value = "/shoppingPage/cost")
    public String cost() {
        return "shoppingPage/cost";
    }
    
    @RequestMapping(value = "/orderSuccess")
    public String orderSuccess() {
        return "shoppingPage/orderSuccess";
    }
    
    //manager ...
    @RequestMapping(value = "/managerPage/manageUser")
    public String manageUser() {
        return "managerPage/manageUser";
    }
    
    @RequestMapping(value = "/managerPage/managePet")
    public String managePet() {
        return "managerPage/managePet";
    }
    
    @RequestMapping(value = "/managerPage/manageGoods")
    public String manageGoods() {
        return "managerPage/manageGoods";
    }
    
    @RequestMapping(value = "/managerPage/manageOrder")
    public String manageOrder() {
        return "managerPage/manageOrder";
    }
 
    
    
}